package com.lzx.article.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lzx.article.entity.Collect;
import com.lzx.common.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzx
 * @since 2023-01-11
 */
public interface CollectService extends IService<Collect> {

    //收藏功能
    R saveUserCollect(Collect collect);

    //查询当前用户的收藏记录
    R getUserCollectList(int userId);
}
